const mongoose = require('mongoose')
    //创建评论集合规则
let commentSchema = new mongoose.Schema({
        username: String,
        add_time: Object,
        content: String
    })
    //使用集合规则创建集合
let commentData = mongoose.model('Comment', commentSchema);
module.exports = {
    commentData
}